import java.awt.Color;

public class Line extends Figure {
	private int x2, y2;

	public Line(int posX1, int posX2, int posY1, int posY2, Color c) {
		super(posX1, posY1, c);
		this.x2 = posX2;
		this.y2 = posY2;
	}

	public void setX2(int posX2) {
		this.x2 = posX2;
	}

	public void setY2(int posY2) {
		this.y2 = posY2;
	}
	
	public int getX2() {
		return this.x2;
	}
	
	public int getY2() {
		return this.y2;
	}
}
